package com.ruoyi.gcgl.domain;

import java.util.Date;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 费用核销对象 gc_fyhx
 * 
 * @author ruoyi
 * @date 2022-12-17
 */
public class GcFyhx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String orderNo;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 描述/备注 */
    @Excel(name = "描述/备注")
    private String descs;

    /** 状态（0待审核，1通过，2拒绝） */
    @Excel(name = "状态", readConverterExp = "0=待审核，1通过，2拒绝")
    private Integer status;

    /** 报销人 */
    @Excel(name = "报销人")
    private String bxr;

    /** 报销人金额 */
    @Excel(name = "报销人金额")
    private Double bxrje;

    /** 报销人时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报销人时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bxrAt;

    /** 合计金额(小写) */
    @Excel(name = "合计金额(小写)")
    private String hejexx;

    /** 合计金额(大写) */
    @Excel(name = "合计金额(大写)")
    private String hejedx;

    /** 财务审核 */
    @Excel(name = "财务审核")
    private String spr;

    /** 财务审核 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "财务审核", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sprAt;

    /** 单据数量 */
    @Excel(name = "单据数量")
    private String djsl;

    /** 类型(0办公费用1市场费用) */
    @Excel(name = "类型(0办公费用1市场费用)")
    private String type;

    /** 领导审批 */
    @Excel(name = "领导审批")
    private String ldsp;

    /** 领导审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领导审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ldspAt;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;
    
    private List<GcFyhxitem> item;
    
    public List<GcFyhxitem> getItem() {
		return item;
	}

	public void setItem(List<GcFyhxitem> item) {
		this.item = item;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setBxr(String bxr) 
    {
        this.bxr = bxr;
    }

    public String getBxr() 
    {
        return bxr;
    }
    public void setBxrje(Double bxrje) 
    {
        this.bxrje = bxrje;
    }

    public Double getBxrje() 
    {
        return bxrje;
    }
    public void setBxrAt(Date bxrAt) 
    {
        this.bxrAt = bxrAt;
    }

    public Date getBxrAt() 
    {
        return bxrAt;
    }
    public void setHejexx(String hejexx) 
    {
        this.hejexx = hejexx;
    }

    public String getHejexx() 
    {
        return hejexx;
    }
    public void setHejedx(String hejedx) 
    {
        this.hejedx = hejedx;
    }

    public String getHejedx() 
    {
        return hejedx;
    }
    public void setSpr(String spr) 
    {
        this.spr = spr;
    }

    public String getSpr() 
    {
        return spr;
    }
    public void setSprAt(Date sprAt) 
    {
        this.sprAt = sprAt;
    }

    public Date getSprAt() 
    {
        return sprAt;
    }
    public void setDjsl(String djsl) 
    {
        this.djsl = djsl;
    }

    public String getDjsl() 
    {
        return djsl;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setLdsp(String ldsp) 
    {
        this.ldsp = ldsp;
    }

    public String getLdsp() 
    {
        return ldsp;
    }
    public void setLdspAt(Date ldspAt) 
    {
        this.ldspAt = ldspAt;
    }

    public Date getLdspAt() 
    {
        return ldspAt;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNo", getOrderNo())
            .append("name", getName())
            .append("descs", getDescs())
            .append("status", getStatus())
            .append("bxr", getBxr())
            .append("bxrje", getBxrje())
            .append("bxrAt", getBxrAt())
            .append("hejexx", getHejexx())
            .append("hejedx", getHejedx())
            .append("spr", getSpr())
            .append("sprAt", getSprAt())
            .append("djsl", getDjsl())
            .append("type", getType())
            .append("ldsp", getLdsp())
            .append("ldspAt", getLdspAt())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
